package model;

public class Comment {
	private int id;
	private String title;
	private String text;
	private String date;
	private int user_id;
	private int recipe_id;
	
	
	//default constructor
	public Comment() {
	}
	
	//constructor with parameters
/*	public Comment(int id, String title, String text, String date) {
		super();
		this.id = id;
		this.title = title;
		this.text = text;
		this.date = date;
	}*/

	//getters and setters
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}	
	
	public int getUser_id() {
		return user_id;
	} 
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}	
	
	public int getRecipe_id() {
		return recipe_id;
	} 
	public void setRecipe_id(int recipe_id) {
		this.recipe_id = recipe_id;
	}
	
}
